<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/XJ.css"/>
		<script src="../pulip/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../pulip/angular.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/XJ.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var width=document.documentElement.clientWidth
	 		document.documentElement.style.fontSize=width/750*100+"px"
			window.onresize=function(){ 
				document.location.reload()    
			}         
		</script>         
	</head>
	<body ng-app="aa"  ng-controller="tjsj">
		<div id="index-zong">     
			<nav id="index-nav">
				<a href="../index.html" class="bc"><img src="../img/jiantou.jpg"/></a>
				<p class="index-nav-p">记账本</p>
				<p ng-click="add()" class="tj"><img src="../img/u=3121617524,1121155449&fm=27&gp=0.jpg"/></p>
			</nav>
			<div id="XJ-div">
				吃饭：<input type="text" ng-model="cf" class="input"/>
				零食：<input type="text" ng-model="ls" class="input"/>
				衣服：<input type="text" ng-model="yf" class="input"/>
				化妆品：<input type="text" ng-model="hzp" class="input"/>
			</div>
			<table border="" cellspacing="" cellpadding="1">
				<tr>
					<th>消费<span>/金额</span></th>
					<td>吃饭</td>  
					<td>零食</td>
					<td>衣服</td>     
					<td>化妆品</td>  
					<td>操作</td>
				</tr> 
				<tr ng-repeat="v in zhi">
					<td >
					</td>  
					<td>{{v.cf}}</td>  
					<td>{{v.ls}}</td>     
					<td>{{v.yf}}</td> 
					<td>{{v.hzp}}</td>
					<td><button ng-click="sc($index)">删除</button></td>
				<!--</tr>-->
			</table>
			
		</div>
	</body>
</html>
